package com.onelap.bls.tc.utils;

import android.os.Handler;

import com.blankj.utilcode.util.AppUtils;

public class CommonUtil {


    /**
     * 延时退出应用
     *
     * @param time 延时的时间
     */
    public static void delayClose(int time) {
        new Handler().postDelayed(new Runnable() {
            @Override
            public void run() {
                AppUtils.exitApp();
            }
        }, time);
    }
}
